/* eslint-disable */

import permision from '../../../assets/img/permision.png'
export default {
  data() {
    return {
      permissionList:[
        {
          imgUrl: permision,
          name: '土地出让合同'
        },
        {
          imgUrl: permision,
          name: '备案证'
        },
        {
          imgUrl: permision,
          name: '用地许可证'
        },
        {
          imgUrl: permision,
          name: '工程规划许可证'
        }
      ],
      // 资产数据
      assetData:[
        {
          status:'1',
          contractNo: '0001201911025861',
          assetName: 'xxx项目1',
          assetType: '服务业',
          assetLevel: '市级',
          startTime: '2020-3-1',
          endTime: '2022-3-1',
          construction: 'xxx公司',
          statistics: '是'
        },
        {
          status:'0',
          contractNo: '0001201911025031',
          assetName: 'xxx项目2',
          assetType: '科技创新',
          assetLevel: '市级',
          startTime: '2020-2-1',
          endTime: '2023-1-1',
          construction: 'xxx公司',
          statistics: '是'
        },
        {
          status:'0',
          contractNo: '0001201911025031',
          assetName: 'xxx项目3',
          assetType: '服务业',
          assetLevel: '市级',
          startTime: '2020-7-1',
          endTime: '2022-7-1',
          construction: 'xxx公司',
          statistics: '否'
        },
        {
          status:'0',
          contractNo: '0001201911024234',
          assetName: 'xxx项目4',
          assetType: '制造业',
          assetLevel: '市级',
          startTime: '2020-5-1',
          endTime: '2022-5-1',
          construction: 'xxx公司',
          statistics: '是'
        },
        {
          status:'0',
          contractNo: '0001201911024234',
          assetName: 'xxx项目5',
          assetType: '服务业',
          assetLevel: '市级',
          startTime: '2019-4-1',
          endTime: '2022-4-1',
          construction: 'xxx公司',
          statistics: '否'
        },
        {
          status:'0',
          contractNo: '0001201911027165',
          assetName: 'xxx项目6',
          assetType: '科技创新',
          assetLevel: '市级',
          startTime: '2021-1-1',
          endTime: '2022-6-1',
          construction: 'xxx公司',
          statistics: '是'
        },
      ],
      conditionFrom:{
        projectId: '',
        project: ''

      },
      // 新增资产弹窗
      dialogAssetAdd:{
        title: '项目详情',
        status: false,
      },

       // 新增资产弹窗
       dialogTextAdd:{
        title: '文件详情',
        status: false,
      },

       // 新增资产表单数据
      assetAddFrom:{
        assetName: 'xxx项目',
        assetType: '建筑业',
        assetLevel: '市政',
        construction: 'xxx公司',
        assetstatus: '未开工',
        investment: '33亿',
        legalUnit: '国企',  
        site: '东至浦云路西至雨花路',
        plate: '东区',
      },
    }
  },


     
    

     
  mounted() {

  },
  methods: {
    // 项目弹窗
    dialogAsset(row){
      // this.assetAddFrom = row
      this.dialogAssetAdd.status = true
    },

    // 文件弹窗
    dialogText(row){
      this.dialogTextAdd.status = true
    },
    // 查询
    searchData(){
      this.$message({
        type: 'success',
        message: '查询成功!'
      })
    }
}
}
